package xzy.com.service;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import xzy.com.entity.domain.Article;
import xzy.com.entity.domain.Menu;

public interface ArticleService extends IService<Article>{
	//根据类别查询菜单
	IPage<Article>findArticleType(Page<Article>page,QueryWrapper<Article>queryWrapper);

	//查询所有父菜单
	List<Menu> findMenuByType();
}
